package com.systemframework.sys.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.systemframework.sys.entity.SysRoleMenu;
import com.systemframework.sys.mapper.SysRoleMenuMapper;
import com.systemframework.sys.service.SysRoleMenuService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author summer
 * @date 2023-03-20 14:48
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class SysRoleMenuServiceImpl extends ServiceImpl<SysRoleMenuMapper, SysRoleMenu> implements SysRoleMenuService {
    @Override
    public List<Integer> findSelectedIds(Integer roleId) {
        return this.baseMapper.findSelectedIds(roleId);
    }
}
